# start_app.py
import args
import os

# 构建Gunicorn命令
command = f"/home/zjh/anaconda3/envs/py310/bin/gunicorn -w {args.num_of_process} -t {args.thread_per_process} -b 0.0.0.0:{args.port} app_multi_summary:app"

# 执行命令
os.system(command)